package com.ftar.urgent.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * @author: wei.jin
 * @date: 2023/7/14
 * @email: wei.jin@fanttec.com
 * @description：
 */
public class AsrConfigModel {

    private ConfigDTO config;

    public ConfigDTO getConfig() {
        return config;
    }

    public void setConfig(ConfigDTO config) {
        this.config = config;
    }

    public static class ConfigDTO {
        @JSONField(name = "samp_freq")
        private Integer sampFreq;
        @JSONField(name = "spk_num")
        private Integer spkNum;
        @JSONField(name = "endpoint_mode")
        private Integer endpointMode;
        @JSONField(name = "add_punc")
        private Integer addPunc;
        @JSONField(name = "hotwords")
        private List<String> hotwords;
        @JSONField(name = "hotwords_weight")
        private Float hotwordsWeight;

        public Integer getSampFreq() {
            return sampFreq;
        }

        public void setSampFreq(Integer sampFreq) {
            this.sampFreq = sampFreq;
        }

        public Integer getSpkNum() {
            return spkNum;
        }

        public void setSpkNum(Integer spkNum) {
            this.spkNum = spkNum;
        }

        public Integer getEndpointMode() {
            return endpointMode;
        }

        public void setEndpointMode(Integer endpointMode) {
            this.endpointMode = endpointMode;
        }

        public Integer getAddPunc() {
            return addPunc;
        }

        public void setAddPunc(Integer addPunc) {
            this.addPunc = addPunc;
        }

        public List<String> getHotwords() {
            return hotwords;
        }

        public void setHotwords(List<String> hotwords) {
            this.hotwords = hotwords;
        }

        public Float getHotwordsWeight() {
            return hotwordsWeight;
        }

        public void setHotwordsWeight(Float hotwordsWeight) {
            this.hotwordsWeight = hotwordsWeight;
        }
    }
}
